package com.cjjd.c.feature.mine.certify;

import android.view.View;
import android.widget.Button;

import com.cjjd.c.R;
import com.cjjd.c.base.ActionBarFragment;
import com.cjjd.c.utils.FragmentUtil;

/**
 * ----------------------------------
 * Created by xyd on 2017/8/14.
 * <p/>
 * 描  述：
 * <p/>
 * 修订历史:
 * ----------------------------------
 */

public class CompanyFragment extends ActionBarFragment {
    @Override
    public Object getTitleString() {
        return "单位会员认证";
    }

    @Override
    public int getContentView() {
        return R.layout.fragment_certify_company;
    }

    @Override
    public void initRightButton(Button rightButton) {
        super.initRightButton(rightButton);
        rightButton.setVisibility(View.VISIBLE);
        rightButton.setText("完成");
        rightButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                FragmentUtil.replaceWithAddToBack(mContext, new CompleteCertifyFragment(), R.id.activity_body);
            }
        });
    }

}
